package com.ysd.lis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户授权科室关系表
 * </p>
 *
 * @author prs
 * @since 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("SYS_USER_DEPARTMENT")
public class SysUserDepartment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableField("USER_ID")
    private String userId;

    /**
     * 部门ID
     */
    @TableField("DEPT_ID")
    private String deptId;
    /**
     * 部门ID
     */
    @TableField("DEPT_CODE")
    private String deptCode;

    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String deptName;
    @TableField(exist = false)
    private String realname;
    @TableField(exist = false)
    private String tel;
    @TableField(exist = false)
    private String email;
}
